#include <stdio.h>

int main(void)
{
	//希望统计5个班级
	//总成绩和平均分
	int scores[5]={81,82,83,84,85};
	int sum=0;
	for(int i=0;i<5;i++)
	{
		sum+=scores[i];
	}
	double avgScore=(double)sum/5;
	printf("sum:%d,avgScore:%.2f\n",sum,avgScore);
}
